<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>result</title>
</head>
<body align="center">
<form align="center" method="POST" action="/">
    <h2>选课结果</h2>
    <tr th:object="${student}">
        <td>姓名:</td>
        <td th:text="*{name}"></td>
    </tr><br>
    <tr th:object="${student}">
        <td>学号:</td>
        <td th:text="*{sno}"></td>
    </tr><br>
    <tr th:object="${student}">
        <td>年级:</td>
        <td th:text="*{grade}"></td>
    </tr><br>
    <tr th:object="${student}">
        <td>专业:</td>
        <td th:text="*{major}"></td>
    </tr><br>
    <tr th:object="${student}">
        <td>学院:</td>
        <td th:text="*{college}"></td>
    </tr><br>
    <tr th:object="${student}">
        <td>已选课程:</td>
        <td th:text="*{course}"></td>
    </tr><br>
    <tr>
        <td>
            <input  type="submit" value="返回欢迎界面"/>
        </td>
    </tr>

</form>
</body>
</html>